package com.hyhy.hycloud.uaa.model;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * 角色资源实体
 *
 * @author Xuegui Yuan
 * @date 2018-12-04
 */
@Data
@Document
public class RoleResource {
    @Id
    private String id;

    /**
     * 角色ID
     */
    private String roleId;

    /**
     * 资源ID
     */
    private String resourceId;
}
